package common

// PRIMARYKEY 数据库主键
var PRIMARYKEY = "uid" // 主键

var (
	GenUuidC  = "GenUuid"
	UserInfoC = "UserInfo"
)

type UserInfo struct {
	Uid      uint64 `bson:"uid"`
	NickName string `bson:"nickName"`
}

func (user *UserInfo) C() string {
	return "UserInfo"
}

var CollIdxMap = map[uint16]string{
	0: GenUuidC,
	1: UserInfoC,
}
